package com.example.demo.entity;

import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * User实体类
 */
@Data
@ToString
public class User {
    private Long id;
    private String username;
    private String email;
    private String password;
    private Date createdAt;
    private Date updatedAt;
    private Integer status;

    public User(String username, String email, String password){
        this.username = username;
        this.email = email;
        this.password=password;
    }

}
